package com.test.springtp.service.impl;

import com.test.springtp.model.Product;
import com.test.springtp.mapper.ProductMapper;
import com.test.springtp.model.ProductVo;
import com.test.springtp.service.IProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ll
 * @since 2025-10-31
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements IProductService {
    @Autowired
    private ProductMapper productMapper;
    @Override
    public List<ProductVo> queryAll(ProductVo product) {
        return productMapper.queryAll(product);
    }
}
